FROM node
COPY . /eggServe
WORKDIR /eggServe
# 暴露端口
EXPOSE 7001
# 下载模块
# RUN npm install
# 容器启动时启动服务
ENTRYPOINT ["npm","run","start"]